<%@include file="header.jsp"%>
<c:set var="t" value="true" />
<form action="AddBooking" method=post>
	<br />
	<table class="table table-striped">
		<tr>
			<th><fmt:message key="label.facility.name" /></th>
			<td><input type="text" name="facilityname"
				value="${param['facilityname']}" size=15 maxlength=20
				readonly="readonly" /> <input type="hidden"></td>
		</tr>

		<tr>
			<th><fmt:message key="label.facility.description" /></th>
			<td><input type="text" name="description"
				value="${param['description']}" size=15 maxlength=30
				readonly="readonly" /></td>
		</tr>

		<tr>
			<th><fmt:message key="label.facility.type" /></th>
			<td><input type="text" name="type" value="${param['type']}"
				size=15 maxlength=20 readonly="readonly" /></td>
		</tr>
		<tr>
			<th><fmt:message key="label.booking.facilityID" /></th>
			<td><input type="text" name="facilityID"
				value="${param['facilityID']}" size=15 maxlength=20
				readonly="readonly" /></td>
		</tr>
		<tr>
			<th><fmt:message key="label.facility.capacity" /></th>
			<td><input type="text" name="capacity"
				value="${param['capacity']}" size=15 maxlength=20
				readonly="readonly" /></td>
		</tr>

		<tr>
			<th><fmt:message key="label.booking.priority" /></th>
			<td><select name="priority">
					<c:forEach var="onePriority" items="${priorities}"
						varStatus="status">
						<option value="${onePriority.priorityName}" >
							<c:out value="${onePriority.priorityName}" />
						</option>
					</c:forEach>
			</select></td>
		</tr>
		<tr>
			<th><fmt:message key="setup.period" /></th>
			<td><input type="text" name=period value="${param['period']}"
				size=15 maxlength=20 readonly="readonly" /></td>
		</tr>
		<tr>
			<th><fmt:message key="setup.stardate" /></th>
			<td><input type="Text" name="timestamp"
				value="${param['timestamp']}" readonly="readonly"></td>
		</tr>
		<tr>
			<th><fmt:message key="label.booking.reason" /></th>
			<td><input type="text" name="reason" value="${param['reason']}"
				size=15 maxlength=20 /></td>
		</tr>
		<tr>
			<td colspan="2" style="text-align: center">
				<div class="btn-group">
					<input class="btn btn-primary" type="submit" value="Submit">
					<input class="btn btn-primary" type="reset" value="Reset">
				</div>
			</td>
		</tr>
	</table>
</form>

<%@include file="footer.jsp"%>